<div>
    <div class="flex justify-start">
        <div style="padding-right:0px;width: 200px;" class="room-floor-unit-tree">
            <vc:create path="work/communityRepairTree"></vc:create>
        </div>
        <div class="margin-top-xs margin-left-sm" style="flex-grow: 1;">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>
                        <vc:i18n name="查询条件"></vc:i18n>
                    </h5>
                    <div class="ibox-tools" style="top:10px;"></div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-2">
                            <input type="text" :placeholder="vc.i18n('请输入工单编号','repairPoolManage')"
                                v-model.trim="adminRepairInfo.conditions.repairId" class=" form-control">
                        </div>
                        <div class="col-sm-2">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请输入报修人','repairPoolManage')"
                                    v-model.trim="adminRepairInfo.conditions.repairName" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <input type="text" :placeholder="vc.i18n('请输入报修电话','repairPoolManage')"
                                v-model.trim="adminRepairInfo.conditions.tel" class=" form-control">
                        </div>
                        <div class="col-sm-2">
                            <button type="button" class="btn btn-primary btn-sm"
                                v-on:click="_queryCommunityPublicityMethod()">
                                <vc:i18n name="查询" namespace="adminRepair"></vc:i18n>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            <div class="ibox">
                <div class="ibox-title">
                    <h5>
                        <vc:i18n name="小区报修" namespace="adminRepair"></vc:i18n>
                    </h5>
                    <div class="ibox-tools" style="top:10px;">

                    </div>
                </div>
                <div class="ibox-content">
                    <div class="hc-table-div">

                        <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                            <thead>
                                <tr>
                                    <th class="text-center">
                                        <vc:i18n name="工单编码" namespace="adminRepair"></vc:i18n>
                                    </th>
                                    <th class="text-center">
                                        <vc:i18n name="小区名称" namespace="adminRepair"></vc:i18n>
                                    </th>
                                    <th class="text-center">
                                        <vc:i18n name="位置" namespace="adminRepair"></vc:i18n>
                                    </th>
                                    <th class="text-center">
                                        <vc:i18n name="报修类型" namespace="adminRepair"></vc:i18n>
                                    </th>
                                    <th class="text-center">
                                        <vc:i18n name="维修类型" namespace="adminRepair"></vc:i18n>
                                    </th>
                                    <th class="text-center">
                                        <vc:i18n name="报修人" namespace="adminRepair"></vc:i18n>
                                    </th>
                                    <th class="text-center">
                                        <vc:i18n name="联系方式" namespace="adminRepair"></vc:i18n>
                                    </th>
                                    <th class="text-center">
                                        <div>预约</div>
                                        <div>开始/结束时间</div>
                                    </th>
                                    <th class="text-center">
                                        <vc:i18n name="提交时间" namespace="adminRepair"></vc:i18n>
                                    </th>
                                    <th class="text-center">
                                        <vc:i18n name="提单时长" namespace="adminRepair"></vc:i18n>
                                    </th>
                                    <th class="text-center">
                                        <vc:i18n name="完成时间" namespace="adminRepair"></vc:i18n>
                                    </th>
                                    <th class="text-center">
                                        <vc:i18n name="状态" namespace="adminRepair"></vc:i18n>
                                    </th>
                                    <th class="text-center">
                                        <vc:i18n name="操作" namespace="adminRepair"></vc:i18n>
                                    </th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr v-for="repairPool in adminRepairInfo.repairs">
                                    <td class="text-center">{{repairPool.repairId}}</td>
                                    <td class="text-center">{{repairPool.communityName}}</td>
                                    <td class="text-center">{{repairPool.repairObjName}}</td>
                                    <td class="text-center">{{repairPool.repairTypeName}}</td>
                                    <td class="text-center">
                                        {{repairPool.maintenanceType == '1001' ? '有偿服务' : repairPool.maintenanceType ==
                                        '1002' ? '无偿服务' : repairPool.maintenanceType == '1003' ? '需要用料' :
                                        repairPool.maintenanceType == '1004' ? '无需用料' : '--'}}
                                    </td>
                                    <td class="text-center">{{repairPool.repairName}}</td>
                                    <td class="text-center">{{repairPool.tel}}</td>
                                    <td class="text-center">
                                        <div>{{repairPool.appointmentTime}}</div>
                                        <div>~{{repairPool.timeout}}</div>
                                    </td>
                                    <td class="text-center">{{repairPool.createTime}}</td>
                                    <td class="text-center">{{repairPool.submitHours || '0'}}</td>
                                    <td class="text-center">{{repairPool.finishTime || '-'}}</td>
                                    <td class="text-center"
                                        v-if="repairPool.state == '1800' && (repairPool.returnVisitFlag == '001' || repairPool.returnVisitFlag == '002')">
                                        {{repairPool.stateName}}(定时任务处理)
                                    </td>
                                    <td class="text-center" v-else>
                                        {{repairPool.stateName}}
                                    </td>
                                    <td class="text-center">
                                        <div class="btn-group">
                                            <button class="btn-white btn btn-xs" v-on:click="_openRepairDetail(repairPool)">
                                                <vc:i18n name="详情" namespace="adminRepair"></vc:i18n>
                                            </button>
                                        </div>
                                    </td>
                                </tr>
                            </tbody>
    
                        </table>
                    </div>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>
                </div>
            </div>
        </div>
    </div>
</div>